package com.dhu.demo.entity;

import java.io.Serializable;

/**
 * student
 * @author 
 */
public class Student implements Serializable {
    private Integer studentid;

    private Integer studentnumber;

    private String department;

    private String major;

    private String classnumber;

    public Student(){}

    public Student( Integer studentnumber, String department, String major, String classnumber, String studentname) {
        this.studentnumber = studentnumber;
        this.department = department;
        this.major = major;
        this.classnumber = classnumber;
        this.studentname = studentname;
    }
    public Student(Integer studentid, Integer studentnumber, String department, String major, String classnumber, String studentname) {
        this.studentid=studentid;
        this.studentnumber = studentnumber;
        this.department = department;
        this.major = major;
        this.classnumber = classnumber;
        this.studentname = studentname;
    }

    public Student(String classnumber) {
        this.classnumber =classnumber;
    }

    public Student(Integer studentnumber){
        this.studentnumber = studentnumber;
    }
    private String studentname;

    private static final long serialVersionUID = 1L;


    public Integer getStudentid() {
        return studentid;
    }

    public void setStudentid(Integer studentid) {
        this.studentid = studentid;
    }

    public Integer getStudentnumber() {
        return studentnumber;
    }

    public void setStudentnumber(Integer studentnumber) {
        this.studentnumber = studentnumber;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getClassnumber() {
        return classnumber;
    }

    public void setClassnumber(String classnumber) {
        this.classnumber = classnumber;
    }

    public String getStudentname() {
        return studentname;
    }

    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }
}